package com.hbun.cxcy.service;

import com.hbun.cxcy.common.utils.PageUtils;
import com.hbun.cxcy.entity.Apply;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mahaunyu
 * @since 2022-01-24
 */
public interface ApplyService extends IService<Apply> {

    PageUtils queryPage(Map<String, Object> params);

    void saveWithCustom(Apply apply);

    void updateByIdWithTime(Apply apply);

    void removeByIdsWithCustom(List<Long> ids);

    Map<String, Object> selectGroupByProfessional();

    Map<String, Object>everyDayPeople();

    Map<String,Object> deptGroupBy();

    Map<String,Object> sexGroupBy();

    Map<String, Object> selectGroupByProfessionalToPie();
}
